import { useState, useEffect } from 'react'
import './style/home.scss'



export default () => {

    const { navigate } = window.store


    return <div className='p-home'>
        <h1>电梯识字</h1>
        <ul className='btns'>
            <li onClick={() => navigate('/hanZi')}>汉字电梯</li>
            <li onClick={() => navigate('/literacy/family')}>家庭电梯</li>
            <li onClick={() => navigate('/literacy/jinMaoWan')}>金茂湾电梯</li>
            <li onClick={() => navigate('/literacy/animal')}>动物电梯</li>
            <li onClick={() => navigate('/literacy/music')}>音乐电梯</li>
            <li onClick={() => navigate('/literacy/sports')}>体育电梯</li>
            <li onClick={() => navigate('/literacy/pinYin')}>拼音电梯</li>
            <li onClick={() => navigate('/literacy/taiDongGuanGuang')}>台东观光梯</li>
        </ul>
    </div>
}